<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>{% block title %}{% endblock %}</title>
    <!-- Bootstrap Styles-->
    <link href="{{ url_for('static', filename='cms/assets/css/bootstrap.css') }}" rel="stylesheet" />
    <!-- FontAwesome Styles-->
    <link href="{{ url_for('static', filename='cms/assets/css/font-awesome.css') }}" rel="stylesheet" />
    <!-- Morris Chart Styles-->
    <link href="{{ url_for('static', filename='cms/assets/js/morris/morris-0.4.3.min.css') }}" rel="stylesheet" />
    <!-- Custom Styles-->
    <link href="{{ url_for('static', filename='cms/assets/css/custom-styles.css') }}" rel="stylesheet" />
    <!-- Google Fonts-->
    <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
    <link rel="stylesheet" href="{{ url_for('static', filename='cms/assets/js/Lightweight-Chart/cssCharts.css') }}">
    <link rel="stylesheet" href="{{ url_for('static', filename='cms/assets/js/sweetalert/sweetalert.css') }}">
{% block head %}

{% endblock %}
</head>

<body>
    <div id="wrapper">
        <nav class="navbar navbar-default top-navbar" role="navigation">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".sidebar-collapse">
                    <span class="sr-only"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="#"><strong>数据库大作业</strong></a>

            </div>

            <ul class="nav navbar-top-links navbar-right">

                <!-- /.dropdown -->
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#" aria-expanded="false">
                        <i class="fa fa-tasks fa-fw"></i> <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu" style="min-width: 100px; text-align: center">
                        <li>
                            <a href="{{ url_for('cms.addStudent') }}">
                                <div>
                                    添加学生
                                </div>
                            </a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="{{ url_for('cms.addTeacher') }}">
                                <div>
                                   添加教师
                                </div>
                            </a>
                        </li>

                    </ul>
                    <!-- /.dropdown-tasks -->
                </li>
                <!-- /.dropdown -->

                <!-- /.dropdown -->
                <li class="dropdown">
                    <a class="dropdown-toggle" data-toggle="dropdown" href="#" aria-expanded="false">
                        <i class="fa fa-user fa-fw"></i> <i class="fa fa-caret-down"></i>
                    </a>
                    <ul class="dropdown-menu dropdown-user">
                        <li><a href="#"><i class="fa fa-user fa-fw"></i> 个人中心</a>
                        </li>
                        <li><a href="#"><i class="fa fa-gear fa-fw"></i> 设置</a>
                        </li>
                        <li class="divider"></li>
                        <li><a href="#"><i class="fa fa-sign-out fa-fw"></i> 注销</a>
                        </li>
                    </ul>
                    <!-- /.dropdown-user -->
                </li>
                <!-- /.dropdown -->
            </ul>
        </nav>
        <!--/. NAV TOP  -->
        <nav class="navbar-default navbar-side" role="navigation">
            <div class="sidebar-collapse">
                <ul class="nav" id="main-menu">

                    <li>
                        <a href="{{ url_for('cms.index') }}"><i class="fa fa-dashboard"></i> 概况</a>
                    </li>

                    <li>
                        <a href="{{ url_for('cms.tab_panel') }}"><i class="fa fa-qrcode"></i>面板</a>
                    </li>

                    <li>
                        <a href="{{ url_for('cms.student') }}"><i class="fa fa-table"></i>学生信息查询</a>
                    </li>
                    <li>
                        <a href="{{ url_for('cms.teacher') }}"><i class="fa fa-edit"></i> 教师信息查询 </a>
                    </li>

                </ul>

            </div>

        </nav>
        <!-- /. NAV SIDE  -->

		<div id="page-wrapper">
		  <div class="header">
                        <h1 class="page-header">
                            {% block page_header %}
                            
                            {% endblock %} <small>Welcome Admin</small>
                        </h1>

		</div>
            <div id="page-inner">
                {% block content %}
                
                {% endblock %}
            </div>
            <!-- /. PAGE INNER  -->
        </div>
        <!-- /. PAGE WRAPPER  -->
    </div>
    <!-- /. WRAPPER  -->
    <!-- JS Scripts-->
    <!-- jQuery Js -->
    <script src="{{ url_for('static', filename='cms/assets/js/jquery-1.10.2.js') }}"></script>
    <!-- Bootstrap Js -->
    <script src="{{ url_for('static', filename='cms/assets/js/bootstrap.min.js') }}"></script>

    <!-- Metis Menu Js -->
    <script src="{{ url_for('static', filename='cms/assets/js/jquery.metisMenu.js') }}"></script>
    <!-- Morris Chart Js -->
    <script src="{{ url_for('static', filename='cms/assets/js/morris/raphael-2.1.0.min.js') }}"></script>
    <script src="{{ url_for('static', filename='cms/assets/js/morris/morris.js') }}"></script>
    <script src="{{ url_for('static', filename='cms/assets/js/easypiechart.js') }}"></script>
    <script src="{{ url_for('static', filename='cms/assets/js/easypiechart-data.js') }}"></script>
    <script src="{{ url_for('static', filename='cms/assets/js/Lightweight-Chart/jquery.chart.js') }}"></script>
    <script src="{{ url_for('static', filename='cms/assets/js/custom-scripts.js') }}"></script>
    <script src="{{ url_for('static', filename='cms/assets/js/sweetalert/sweetalert.min.js') }}"></script>
    <script src="{{ url_for('static', filename='cms/assets/js/sweetalert/zlalert.js') }}"></script>
    <script src="{{ url_for('static', filename='cms/assets/js/zlajax.js') }}"></script>

    <!-- Custom Js -->
{% block js %}

{% endblock %}
</body>

</html>